package com.imooc.grace.utils;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

/***
 * 读取阿里云配置文件
 */
@Component
@Data
@PropertySource(value = "classpath:aliCloud.properties", encoding = "UTF-8")
@ConfigurationProperties(prefix = "ali.cloud")
public class AliCloudProperties {
    private String signName;
    private String templateCode;
    private String ACCESS_KEY_ID;
    private String ACCESS_KEY_SECRET;
}
